/**
 * 
 */
Rsd.define('Rsd.hermit.pages.RegisterPage', {
    extend: 'Rsd.hermit.pages.ShopMaster',
    requires: [
       'Rsd.hermit.sections.FormPart'
    ],
    xtype:'register-page',  
    title:'Account Register',
    content:{
         xtype: 'form-view',
         margin:'100 0 0 0',
         width:500,
         height:600,
         dataSource:[
            {
                xtype:'text', 
                label:{position:'top',space:0,content:'Name',align:'left',height:40,style:{fontWeight:'bold'}},
                margin:'0 0 5 0',
                height:80,
                width:'90%',
            },
            {
                xtype:'text',
                label:{position:'top',space:0,content:'Email',align:'left',height:40,style:{fontWeight:'bold'}},
                margin:'0 0 5 0',
                height:80,
                width:'90%',
            },
            {
                xtype:'password',
                label:{position:'top',space:0,content:'Password',align:'left',height:40,style:{fontWeight:'bold'}},
                margin:'0 0 5 0',
                height:80,
                width:'90%',
            },
            {
                xtype:'password',
                label:{position:'top',space:0,content:'Retype Password',align:'left',height:40,style:{fontWeight:'bold'}},
                margin:'0 0 5 0',
                width:'90%',
                height:80
            },
            {
                xtype:'button',
                inputType:"submit",
                text:'REGISTER',
                margin:'50 0 0 0',
                height:40, 
                width:140,
                handler:'btn_user_register'
            }
     ]
    },
    /**
     * 
     * @param {*} config 
     */ 
    constructor: function RegisterPage(config) {
        config = config || {};
        Rsd.apply(this, config);
    },
    /**
     * 
     */
    load:function load() {
        this.callParent();  
    },
    /**
     * 
     * @param {*} s 
     * @param {*} e 
     */
    btn_user_register:function btn_user_register(s,e)
    {
        Rsd.popup('sned message');
        return false;
    }

});